#pragma once
#include<iostream>
class sum
{
public:
	sum()
	{
		_ret += _i;
		_i++;
	}
	static int wast()
	{
		return _ret;
	}
private:
	static int _ret;
	static int _i;
};
int sum::_i = 1;
int sum::_ret = 0;
class wat
{
public:
	int wadd(int n)
	{
		//sum[n]
		sum*arr=new sum[n];
		return sum::wast();
	}
};
